/**
 * Created by Admin on 2018/1/4.
 */
define(function (require, exports, module) {
    var Analysis = require("./analysis.js");
    var loadingTpl = require("../common/tpl/loading.html");
    var template = require("template");
    require("../seajs-init");
    Analysis.initTable(0);
    $(function () {
        $("#trendType").change(function () {
            $("#validptchart-tab").html(template.compile(loadingTpl));
            Analysis.initTable($(this).val());
        })
    })
})